home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / skorn.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  66 lines

  1. // defines Skorn Robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_SKORN_GSH
  7. #define INCLUDED_SKORN_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "lasers.gsh"
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_Skorn
  15. {
  16.     file "units\Skorn MkII.RIF"
  17.     name "skorn mkII"
  18.     hotspot "dum flash"
  19. }
  20.  
  21. hierarchy Hcy_SkornShadow
  22. {
  23.     file "units\gunlok_shadow.RIF"
  24.     name "gunlok_shadow"
  25. }
  26.  
  27. hierarchy Hcy_SkornCustomize
  28. {
  29.     file "units\wepgunlok.RIF"
  30.     name "wepgunlok"
  31. }
  32.  
  33. character Chr_Skorn : Chr_DefaultGoodie
  34. {
  35.     turning speed   1    // this is in revolutions per second
  36.     walking speed   1    // this is in animation cycles per second
  37.     weapon          laser
  38.     strength        100    // initial strength points
  39.     aim             0    // how many degrees off target he can be at most
  40.     sight angle        75    // in degrees
  41.     sight range     12    // in metres (i've doubled this for a test)
  42.     hearing range    17    // in metres
  43.     aggression        0.7    // from 0 to 1
  44.     radius            0.5    // used by the movement model
  45.     customization hierarchy Hcy_SkornCustomize
  46.     size        1
  47.     shadow hierarchy        Hcy_SkornShadow
  48. }
  49.  
  50. role Rol_Skorn : Rol_DefaultRobot
  51. {
  52.     shape            Hcy_Skorn
  53.  
  54.     character        Chr_Skorn
  55.  
  56.     identifier        "SKORN"
  57.  
  58.     armour    3
  59.  
  60.     ai                bot
  61. }
  62.                     
  63. ////////////////////////////////////////////////////////////////////////////////////
  64.  
  65. // end wrapper - for preventing multiple or recursive inclusions
  66. #endif // !INCLUDED_SKORN_GSH